<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
<title><ui:insert name="title">SACO</ui:insert></title>
<link rel="stylesheet" type="text/css" href="../css/saco.css" media="screen" />
</h:head>
<h:body>
	<ui:debug hotkey="x" rendered="#{initParam['javax.faces.FACELETS_DEVELOPMENT']}" />

	<div id="header" >
	   <ui:insert name="header">
		   <h:panelGrid columns="1">
				<h:graphicImage value="../images/saco.png" styleClass="logo"></h:graphicImage>
	       </h:panelGrid>
			<p:menubar styleClass="menu">
				<p:submenu label="Socio" icon="ui-icon-person">
					<p:submenu label="Nuevo" icon="ui-icon-plus">
						<p:menuitem value="Socio" icon="ui-icon-contact" url="/faces/RegistrarSocio.xhtml" />
						<p:menuitem value="Comisión" url="#" />
					</p:submenu>
					<p:separator />
					<p:submenu label="Buscar" icon="ui-icon-search">
						<p:menuitem icon="ui-icon-note" value="Listar Socios" url="/faces/ListarSocios.xhtml"/>						
					</p:submenu>
				</p:submenu>
			    <p:submenu label="Pagos" icon="ui-icon-cart">
			        <p:submenu label="Nuevo" icon="ui-icon-plus">
						<p:menuitem value="Registro"  outcome="registroPago"/>
						<p:menuitem value="Concepto" outcome="registrarConceptoPago" />
					</p:submenu>
			    </p:submenu>
			    <p:submenu label="Actividades" icon="ui-icon-clock">			    
			        <p:submenu label="Nuevo" icon="ui-icon-plus">
						<p:menuitem value="Actividad" url="/faces/RegistrarSocio.xhtml"/>						
					</p:submenu>		
					<p:menuitem value="Editar" url="/faces/RegistrarUsuario.xhtml"/>																
					<p:menuitem value="Asistencia" url="/faces/RegistrarSocio.xhtml"/>
			    </p:submenu>
			    <p:submenu label="Gastos" icon="ui-icon-cart">
			    
			    </p:submenu>	
			    <p:submenu label="Reportes" icon="ui-icon-cart">
			    
			    </p:submenu>					
			</p:menubar>						   			
	   </ui:insert>	            		
	</div>
    <br/>

	<div id="content">
		<ui:insert name="content">
    
		</ui:insert>
	</div>

	<div id="footer">
		<ui:insert name="footer">
		<br/>
    	<p:panel styleClass="Panelfooter">
    	  <p:outputLabel value="Derechos Reservados 2014 @tSoft"></p:outputLabel>
    	</p:panel>
		</ui:insert>
	</div>

</h:body>

</html>
